package com.xinhe.web.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
@Data
@ApiModel(description = "商品查询视图")
public class GoodsView {
    @ApiModelProperty("主键")
    private Long id;
    @ApiModelProperty("商家会员id")
    private Long sellerUserId;
    @ApiModelProperty("商品分类id")
    private Long goodsTypeId;
    @ApiModelProperty("商品专区分类id")
    private Long goodsZoneTypeId;
    @ApiModelProperty("商品名称")
    private String name;
    @ApiModelProperty("商品图标")
    private String iconPath;
    @ApiModelProperty("描述")
    private String dis;
    @ApiModelProperty("价格")
    private BigDecimal price;
    @ApiModelProperty("备注")
    private String remark;
    @ApiModelProperty("原价")
    private BigDecimal originalPrice;
    @ApiModelProperty("单位")
    private String unit;
    @ApiModelProperty("发货地址")
    private String sendAddress;
    @ApiModelProperty("运费")
    private BigDecimal freightFee = BigDecimal.ZERO;
    @ApiModelProperty("商品专区类型 0普通 1帮扶 2家园 3链动 4易品 ")
    private Integer goodsZoneType;
}
